home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950528-19950726 / 000033_news@columbia.edu_Tue May 30 11:16:28 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA19599
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Fri, 2 Jun 1995 04:49:43 -0400
  3. Received: by apakabar.cc.columbia.edu id AA17303
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Fri, 2 Jun 1995 04:49:42 -0400
  5. Path: news.columbia.edu!panix!news.mathworks.com!news.kei.com!nntp.et.byu.edu!news.provo.novell.com!news.cs.utah.edu!cc.usu.edu!jrd
  6. From: jrd@cc.usu.edu (Joe Doupnik)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Automating kermit session in a shell script
  9. Message-Id: <1995May30.171628.52777@cc.usu.edu>
  10. Date: 30 May 95 17:16:28 MDT
  11. References: <3qfuqp$l9f@CUBoulder.Colorado.EDU>
  12. Distribution: na
  13. Organization: Utah State University
  14. Lines: 24
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <3qfuqp$l9f@CUBoulder.Colorado.EDU>, grubin@spot.Colorado.EDU (Rick Grubin) writes:
  18. > I would like to automate a kermit session between two hosts
  19. > in a shell script (or DOS batch file, either way is acceptable).
  20. > The two computers in question are connected directly via a serial
  21. > connection (null modem cable) or via a local network.  The goal
  22. > is to have one computer (either a DOS or Unix host) connect to
  23. > a Unix computer, establish a remote kermit server, jump back to
  24. > the connect-initiating computer, send files, and then finish the
  25. > remote server on the Unix computer.
  26. > I can do this manually, with no difficulty.  I am struggling
  27. > with getting past the "login/password" sequence on the remote
  28. > Unix computer, as well as the "escape back to initiating computer"
  29. > character sequence, in both Unix shell script and DOS batch files.
  30. > Any help with automating this procedure from DOS batch files or
  31. > Unix shell scripts would be most appreciated.  Thank you in advance.
  32. --------
  33.     Have you considered the best way might be to use the scripting
  34. language (sic) provided by Kermits? One end starts and does the login
  35. chatter, invokes the other Kermit, then swap files and other tall stories,
  36. then the script does the goodbyes. Have a look at the full documentation
  37. and explanation in the user's manuals, the "Using MS-DOS / C Kermit" books.
  38.     Joe D.